package com.linewow.xhyy.nihaonew.base;

import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.linewow.xhyy.nihaonew.R;

/**
 * Created by LXR on 2016/9/19.
 */
public class ListBaseFragmentNormal extends ListBaseFragment {
    protected View includeView;
    protected ImageView rightImg,leftImg;
    protected TextView midTv;

    @Override
    protected void setUpView() {
        super.setUpView();
        includeView=View.inflate(getActivity(), R.layout.include_toolbar_find,null);
        includeView.setLayoutParams(new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.MATCH_PARENT,RelativeLayout.LayoutParams.MATCH_PARENT));
        rightImg= (ImageView) includeView.findViewById(R.id.toolbar_find_right);
        leftImg= (ImageView) includeView.findViewById(R.id.toolbar_find_left);
        midTv= (TextView) includeView.findViewById(R.id.toolbar_find_title);
        listBaseInclude.addView(includeView);
    }

}
